package com.dy.lock.screen.dao;

import com.dy.lock.screen.pojo.CustomerAuthenticationInfo;

public interface CustomerAuthenticationDao extends
		BaseDao<CustomerAuthenticationInfo, String> {

	/**
	 * 通过id查询
	 * 
	 * @param id
	 * @return
	 */
	public CustomerAuthenticationInfo queryByPrimaryKey(String id);

	/**
	 * 根据客户id和认证类型查询认证状态
	 * 
	 * @param attentionIdOrBeConcernId
	 * @return
	 */
	public CustomerAuthenticationInfo queryAuthStatus(
			CustomerAuthenticationInfo authenticationInfo);

	/**
	 * 查询认证成功的信息
	 * 
	 * @param authenticationInfo
	 * @return
	 */
	public CustomerAuthenticationInfo queryAuthPassedStatus(
			CustomerAuthenticationInfo authenticationInfo);

}
